<template>
  <div class="identification">
    <div class="control">
      <el-button type="primary" size="small">读 卡</el-button>
      <el-button type="primary" size="small" @click="AddCard">发 卡</el-button>
      <el-button type="primary" size="small">挂 失</el-button>
      <el-button type="primary" size="small">解 挂</el-button>
      <el-button type="primary" size="small">补 卡</el-button>
      <el-button type="primary" size="small">退 卡</el-button>
    </div>
    <tables></tables>
    <add-card ref="addCard"></add-card>
  </div>
</template>

<script>
import Tables from './Tables'
import AddCard from './AddCard'
export default {
  components: {
    Tables,
    AddCard
  },
  data() {
    return {

    }
  },
  methods: {
    // 发卡
    AddCard() {
      this.$refs.addCard.togglePopup(true)
    }
  }
}
</script>

<style lang="scss" scoped>
.identification {
  .control {
    padding-bottom: 15px;
  }
}
</style>
